#include <iostream>
#include <string>

int main()
{
    std::string name = "hello";
    //name = "world";    // 可以直接改
    //name += "world";    //可以直接 += 相当于strcat
    std::string s = name + "world";
    //std::cout<<s.size()<<std::endl; //strlen
    s = "hello";
    std::cout<<(name == s)<<std::endl;  //相等 为1 不等为0
    //std::cout<<s<<std::endl;
    return 0;
}
